package com.quick.domain;

import lombok.Getter;
import lombok.Setter;

/**
 * @Getter/@Setter注解可以针对类的属性字段自动生成Get/Set方法。
 * Created by wangxin332 on 2018/5/13.
 */
public class UseGetSet {
    @Getter
    @Setter
    private String name;

    //等同于

    private String name1;

    public String getName1() {
        return name1;
    }

    public void setName1(String name1) {
        this.name1 = name1;
    }
}
